import java.util.Scanner;

public class dengyao {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入等腰三角形的高度：");
        int h = input.nextInt();
        for(int i=1;i<=h;i++){
            for (int k=h;k>i;k--){
                System.out.print(" ");
            }
            for(int j =1;j<=2*i-1;j++){
                System.out.print("*");
            }
            System.out.println();
        }

    }
}
